Transaction Chopping for Parallel Snapshot Isolation
نویسندگان
چکیده
Modern Internet services often achieve scalability and availability by relying on large-scale distributed databases that provide consistency models for transactions weaker than serialisability. We investigate the classical problem of transaction chopping for a promising consistency model in this class—parallel snapshot isolation (PSI), which weakens the classical snapshot isolation to allow more efficient large-scale implementations. Namely, we propose a criterion for checking when a set of transactions executing on PSI can be chopped into smaller pieces without introducing new behaviours, thus improving efficiency. We find that our criterion is more permissive than the existing one for chopping serialisable transactions. To establish our criterion, we propose a novel declarative specification of PSI that does not refer to implementation-level concepts and, thus, allows reasoning about the behaviour of PSI databases more easily. Our results contribute to building a theory of consistency models for modern large-scale databases.
منابع مشابه
Tracing Snapshot Isolation in Transactions (Extended Abstract)
Effect traces provide a simple methodology of reasoning about program semantics while abstracting away from low-level details. They describe the semantics of a transaction in terms of reads and writes to locations in shared memory. In this work, we propose a definition for traces of transactions under snapshot isolation. Snapshot traces simplify the reasoning about STM with snapshot isolation s...
متن کاملA Transaction Model for Management for Replicated Data with Multiple Consistency Levels
We present here a transaction model for managing replicated data with different consistency guarantees to make suitable trade-offs between data availability, scalability, and consistency for different data items. Data is organized in a hierarchy which is based on consistency levels and the associated transaction management protocols. The model presented here is based on imposing certain constra...
متن کاملApplying Generalized Snapshot Isolation to Mobile Databases
Mobile devices that host embedded database systems are becoming a commonality. Transaction management is needed to provide mobile data availability and transaction processing functionality during disconnection periods. In this paper, we present an adaptation of the transaction correctness criterion GSI to mobile networks that reduces the number of message exchanged per transaction. We discuss t...
متن کاملApplying Generalized Snapshot Isolation to Mobile Databases
Mobile devices that host embedded database systems are becoming a commonality. Transaction management is needed to provide mobile data availability and transaction processing functionality during disconnection periods. In this paper, we present an adaptation of the transaction correctness criterion GSI to mobile networks that reduces the number of message exchanged per transaction. We discuss t...
متن کاملFederated Transaction Management with Snapshot Isolation
Federated transaction management (also known as multidatabase transaction management in the literature) is needed to ensure the consistency of data that is distributed across multiple, largely autonomous, and possibly heterogeneous component databases and accessed by both global and local transactions. While the global atomicity of such transactions can be enforced by using a standardized commi...
متن کامل